package dwl.graduation.design.service;

import dwl.graduation.design.domain.Permission;
import dwl.graduation.design.domain.PermissionInsertRequest;
import dwl.graduation.design.domain.PermissionUpdateRequest;
import dwl.graduation.design.utils.PageResult;
import dwl.graduation.design.utils.QueryPageBean;

public interface PermissionService {
    PageResult findPermissionList(QueryPageBean queryPageBean);

    boolean insertPermission(PermissionInsertRequest request);

    void deletePermission(Integer id);

    boolean updatePermission(PermissionUpdateRequest roleUpdateRequest);

    Permission findPermissionById(Integer id);
}
